Place the pork tenderloin in a slow cooker; pour the root beer over the meat.
Cover and cook on low until well cooked and the pork shreds easily, about 6 to 7 hours.
Drain well. Stir in barbecue sauce.
Serve on hamburger buns.